# -*- coding: utf-8 -*-
# @Time    : 2021/11/22 
# @Author  : 杨玉磊
# @Email   : mat_wu@163.com
# @File    : good.py
# @Software: PyCharm


from django.urls import path
from . import views
from rest_framework import routers


urlpatterns = [
    path('verification/',views.SmsCode.as_view()),
    path('login/',views.Login.as_view()),
    path('userscount/',views.UsersCountView.as_view()),
    path('daliadd/',views.DaliAddUserView.as_view()),
    path('dalylive/',views.DalyLiveUserView.as_view()),
    path('roleadd/',views.UserAdd.as_view()),
    path('search/',views.SearchGoods.as_view()),

]

router = routers.DefaultRouter()
router.register("users",views.UsersView)
urlpatterns += router.urls